package com.yanqu.road.server.channelserver.cmd.activity.washe;

import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.pb.activity.WasheProto;
import com.yanqu.road.server.channelserver.cmd.ChannelCommand;
import com.yanqu.road.server.channelserver.logic.ChannelMessageHelper;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.protocol.ChannelProtocol;
import com.yanqu.road.server.protocol.ClientProtocol;

@Cmd(code = ChannelProtocol.N_WASHE_SEE_OTHER_USER_DATA_RESP, desc = "")
public class ChannelWasheSeeOtherUserDataRespCmd extends ChannelCommand {

    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        WasheProto.ChannelWasheSeeOtherUserDataRespMsg reqMsg = WasheProto.ChannelWasheSeeOtherUserDataRespMsg.parseFrom(packet.getBytes());
        ChannelMessageHelper.sendGamePacket(ClientProtocol.U_WASHE_SEE_OTHER_USER_DATA, reqMsg.getResp().toBuilder(), reqMsg.getFromChannelId(), reqMsg.getFromServerId(), reqMsg.getFromUserId());
        return true;
    }

    @Override
    public void execute(YanQuMessage packet) throws Exception {

    }

    @Override
    public void sendData() {

    }
}
